package com.alibaba.entity;

/**
 * Message entity. 
 * @author kinglcc
 */

public class Message implements java.io.Serializable {

	// Fields

	private Integer messageId;
	private String nickName;
	private String content;

	// Constructors

	/** default constructor */
	public Message() {
	}

	/** minimal constructor */
	public Message( String content) {
		this.content = content;
	}

	/** full constructor */
	public Message(String nickName, String content) {
		this.nickName = nickName;
		this.content = content;
	}

	// Property accessors

	public Integer getMessageId() {
		return this.messageId;
	}

	public void setMessageId(Integer messageId) {
		this.messageId = messageId;
	}

	public String getNickName() {
		return this.nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

}